﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.Paint.DeleteCoverage.CCoPaintDeleteCoverageCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.Paint.DeleteCoverage;

public class CCoPaintDeleteCoverageCmd : TxButtonCommand
{
  private CCoPaintDeleteCoverageCmdEnabler m_enabler = new CCoPaintDeleteCoverageCmdEnabler();

  public virtual string Category => PaintDeleteCoverageResource.DELETE_COV_CMD_CATEGORY;

  public virtual string Name => PaintDeleteCoverageResource.DELETE_COV_CMD_NAME;

  public virtual string Tooltip => PaintDeleteCoverageResource.DELETE_COV_CMD_TOOLTIP;

  public virtual string Description => PaintDeleteCoverageResource.DELETE_COV_CMD_DESC;

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual string Bitmap => "Paint.DeleteCoverage.Resources.delete_coverage_16px.bmp";

  public virtual string LargeBitmap => "Paint.DeleteCoverage.Resources.delete_coverage_32px.png";

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("DeleteCoverage");

  public virtual void Execute(object cmdParams)
  {
    CApPaintDeleteCoverageLogic.Instance.DeleteCoverage();
  }
}
